<div class="row-fluid sortable">	
	<div class="box span6" style="width:100%">
		<div class="box-header well" data-original-title>
			<h2>司机列表</h2>
			<div class="box-icon">
			</div>
		</div>
		<div class="box-content">
			<table class="table table-bordered">
				  <thead>
					  <tr>
						  <th>司机编号</th>
						  <th>司机姓名</th>
						  <th>车牌号</th>
						  <th>电话号码</th>
						  <th>排队次序</th>
						  <th>操作</th>                                    
					  </tr>
				  </thead>   
				  <tbody>
		              <% if(page && page.data){ %>
						<%  page.data.forEach(function(driver){ %>  
							<tr id="<%=driver.id %>">
								<td><%=driver.driverno %></td>
								<td><%=driver.realname %></td>
								<td><%=driver.licenseplateno %></td>
								<td><%=driver.phone %></td>
								<td><%=driver.queuing %></td>
								<td>
									<% if(driver.checkdri == 0){%>
									<a class="btn btn-info" href="javaScript:check('<%=driver.id %>')">
										未审核                                           
									</a>
									<% }else{ %>
									<a class="btn btn-success">
										审核通过                                          
									</a>
									<% } %>
									<a class="btn btn-success" href="<%=server.site%>admin/driver/driver_detail/<%=driver.id %>">
										司机详情
									</a>
									<a class="btn btn-danger" href="<%=server.site%>admin/orderform/orderform_list/<%=driver.id %>/1">
										订单记录
									</a>
								</td>
							</tr>
						<% }) %>
					  <% } %>         
				  </tbody>
			 </table>  
			 <form  id="pageform" action="<%=server.site%>admin/driver/driver_list" method="post">
			 	<%- include ../../common/page.ejs %>
			 </form> 
		</div>
	</div>
</div>
